package com.loyal.loyalerp.basedata.permission.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.loyal.loyalerp.basedata.permission.model.GyPermission;

public interface PermissionService
{
  public PageInfo<GyPermission> listPermission(Integer PageNum,Integer recordNum, String sidx, String sord);
  public int editPermission(String oper, GyPermission permission);
  public PageInfo<GyPermission> findPermission(Integer PageNum,Integer recordNum, String sord,String searchField, String searchString);
  List<GyPermission> listAll();
  public int del(String actionCode);
}
